.class Lcom/waiqin365/lightapp/product/view/a;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/text/TextWatcher;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/product/view/CountView;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/product/view/CountView;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/view/a;->a:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public afterTextChanged(Landroid/text/Editable;)V
    .locals 6

    const/4 v5, 0x1

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/view/a;->a:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Lcom/waiqin365/lightapp/product/view/CountView;)Lcom/waiqin365/lightapp/product/view/e;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/view/a;->a:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->b(Lcom/waiqin365/lightapp/product/view/CountView;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/view/a;->a:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Lcom/waiqin365/lightapp/product/view/CountView;)Lcom/waiqin365/lightapp/product/view/e;

    move-result-object v0

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Lcom/waiqin365/lightapp/product/view/e;->a(Ljava/lang/String;)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/view/a;->a:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-static {v0, v4}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Lcom/waiqin365/lightapp/product/view/CountView;Z)Z

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    const-wide/16 v2, 0x0

    invoke-static {v0, v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/view/a;->a:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-static {v2}, Lcom/waiqin365/lightapp/product/view/CountView;->c(Lcom/waiqin365/lightapp/product/view/CountView;)D

    move-result-wide v2

    cmpl-double v2, v0, v2

    if-lez v2, :cond_1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/view/a;->a:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-static {v2}, Lcom/waiqin365/lightapp/product/view/CountView;->d(Lcom/waiqin365/lightapp/product/view/CountView;)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2, v5}, Landroid/view/View;->setEnabled(Z)V

    :goto_0
    iget-object v2, p0, Lcom/waiqin365/lightapp/product/view/a;->a:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-static {v2}, Lcom/waiqin365/lightapp/product/view/CountView;->e(Lcom/waiqin365/lightapp/product/view/CountView;)D

    move-result-wide v2

    cmpg-double v0, v0, v2

    if-gez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/view/a;->a:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->f(Lcom/waiqin365/lightapp/product/view/CountView;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/view/View;->setEnabled(Z)V

    :goto_1
    return-void

    :cond_1
    iget-object v2, p0, Lcom/waiqin365/lightapp/product/view/a;->a:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-static {v2}, Lcom/waiqin365/lightapp/product/view/CountView;->d(Lcom/waiqin365/lightapp/product/view/CountView;)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2, v4}, Landroid/view/View;->setEnabled(Z)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/view/a;->a:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->f(Lcom/waiqin365/lightapp/product/view/CountView;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/view/View;->setEnabled(Z)V

    goto :goto_1
.end method

.method public beforeTextChanged(Ljava/lang/CharSequence;III)V
    .locals 0

    return-void
.end method

.method public onTextChanged(Ljava/lang/CharSequence;III)V
    .locals 0

    return-void
.end method
